/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.gov.cemaden.library.interfaces.smp;

import br.gov.cemaden.library.model.smp.ExecAplic;
import br.gov.cemaden.library.model.smp.PIDAplic;
import java.util.Date;
import java.util.List;

/**
 *
 * @author paulo.dias
 */
public interface ExecAplicInterface {
    List<ExecAplic>findAll();
    ExecAplic findByPidAndData(Integer pid, Date data);
    ExecAplic findById(Long id);
    ExecAplic findByPid(Integer pid);
    List<ExecAplic>findByData(Date data);   
    List<ExecAplic> findByPidAplic(PIDAplic pidAplic); 
    ExecAplic insert(ExecAplic execAplic);
    ExecAplic update(ExecAplic execAplic);
    void delete(ExecAplic execAplic);  
}
